package com.ruoyi.activiti.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 特殊人员出勤规则对象 t_special_rules
 * 
 * @author lifan
 * @date 2021-04-12
 */
public class SpecialRules extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String employeeName;

    /** 职位 */
    @Excel(name = "职位")
    private String post;

    /** 职级 */
    @Excel(name = "职级")
    private String rank;

    /** 部门 */
    @Excel(name = "部门")
    private String department;

    /** 普通规则 */
    @Excel(name = "普通规则")
    private String attendanceRules;

    /** 特殊规则 */
    @Excel(name = "特殊规则")
    private String specialRules;

    /** 开始时间 */
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 截止时间 */
    @Excel(name = "截止时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEmployeeName(String employeeName) 
    {
        this.employeeName = employeeName;
    }

    public String getEmployeeName() 
    {
        return employeeName;
    }
    public void setPost(String post) 
    {
        this.post = post;
    }

    public String getPost() 
    {
        return post;
    }
    public void setRank(String rank) 
    {
        this.rank = rank;
    }

    public String getRank() 
    {
        return rank;
    }
    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }
    public void setAttendanceRules(String attendanceRules) 
    {
        this.attendanceRules = attendanceRules;
    }

    public String getAttendanceRules() 
    {
        return attendanceRules;
    }
    public void setSpecialRules(String specialRules) 
    {
        this.specialRules = specialRules;
    }

    public String getSpecialRules() 
    {
        return specialRules;
    }
    public void setStartDate(Date startDate) 
    {
        this.startDate = startDate;
    }

    public Date getStartDate() 
    {
        return startDate;
    }
    public void setEndDate(Date endDate) 
    {
        this.endDate = endDate;
    }

    public Date getEndDate() 
    {
        return endDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("employeeName", getEmployeeName())
            .append("post", getPost())
            .append("rank", getRank())
            .append("department", getDepartment())
            .append("attendanceRules", getAttendanceRules())
            .append("specialRules", getSpecialRules())
            .append("startDate", getStartDate())
            .append("endDate", getEndDate())
            .toString();
    }
}
